<?php
/*
 * @Author: ljwnet163@163.com 
 * @Date: 2018-09-20 16:20:06 
 * @Last Modified by: ljwnet163@163.com
 * @Last Modified time: 2018-09-20 17:59:44
 */
namespace app\common\logic\taskmng;
use app\common\logic\LogicBase;
//工单流程类

class TaskCtrl extends LogicBase
{
    private static $task_id = 0;
    private static $task_type = 'appoint';
	
    private static $instance = [];// schama
    
    public static $taskCount = 0;// 生成单的次数
    
	public static $exeTimes = 0;// execute time
	
    /**
     * id生成
     *
     * @param string $machineId 分布式主机唯一标识
     * @return string
     */
    static function idGen($machineId = 0)
    {
        return Sequence::generateSequence($machineId);
    }



}